<template>
	<view v-if="share === 'share'" class="bank-home flex align-center flex-column justify-center" @click="goHome">
		<text class="iconfont icon-shouye font-size-58 text-white"></text>
		<text class="text-white font-size-22">回首页</text>
	</view>
</template>

<script>
	export default {
		name:"go-home",
		props: {
			share: {
				type: String,
				default: ''
			}
		},
		data() {
			return {
				
			};
		},
		methods: {
			// 返回首页
			goHome() {
				uni.reLaunch({
					url: '/pages/index/index'
				})
			},
			
		}
	}
</script>

<style lang="scss">

</style>